package com.zjc.yohoshop.mvp.contract;

import com.zjc.lib_core.mvp.model.IModel;
import com.zjc.lib_core.mvp.view.IView;
import com.zjc.yohoshop.bean.BrandEntity;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;

/**
 * 品牌fragment接口
 */
public interface BrandFragmentContract {

    //品牌fragment IView接口
    interface BrandFragmentIView extends IView{
        void brandSuccess(Map<String, List> map);
    }

    //品牌fragment IModel接口
    interface BrandFragmentIModel extends IModel{
        Observable<BrandEntity> brandRequest(String request);
    }

}
